﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core.DataAccess.IRepositories
{
    public interface ILocationRepository
    {
        void SaveLocation(Location location);
        List<Location> GetLocationListByAccountID(Int32 accountID);
        Location GetLocationByLocationID(Int32 locationID);
        Location GetLocationByLocationName(string locationName);
        void SaveAccountLocation(AccountLocation al);
        List<AccountLocation> GetAccountLocationByUsername(string username);
        List<AccountLocation> GetAccountLocationByAccountID(Int32 accountID);
        List<Account> GetAllFriendsLocationByAccountID(int accountID, string locationName);
        int UpdateLocationInfo(int accountID, Location location);
        int UpdateAccountLocationInfo(int accountID, AccountLocation accLocation, int locationID);
    }
}
